using Net35.Xrm.Sdk;
using System;
using System.Runtime.Serialization;
namespace Net35.Crm.Sdk.Messages
{
	[DataContract(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed class CheckPromoteEmailRequest : OrganizationRequest
	{
		public string MessageId
		{
			get
			{
				if (base.Parameters.Contains("MessageId"))
				{
					return (string)base.Parameters["MessageId"];
				}
				return null;
			}
			set
			{
				base.Parameters["MessageId"] = value;
			}
		}
		public string Subject
		{
			get
			{
				if (base.Parameters.Contains("Subject"))
				{
					return (string)base.Parameters["Subject"];
				}
				return null;
			}
			set
			{
				base.Parameters["Subject"] = value;
			}
		}
		public int DirectionCode
		{
			get
			{
				if (base.Parameters.Contains("DirectionCode"))
				{
					return (int)base.Parameters["DirectionCode"];
				}
				return 0;
			}
			set
			{
				base.Parameters["DirectionCode"] = value;
			}
		}
		public CheckPromoteEmailRequest()
		{
			base.RequestName = "CheckPromoteEmail";
			this.MessageId = null;
		}
	}
}
